package net.siufung.boot.jwt.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author 陈建峰
 * @since 2022/5/1 6:04 下午
 */
@Data
@ConfigurationProperties(prefix=JwtProperties.PREFIX)
public class JwtProperties {

    public static final String PREFIX = "security.jwt";

    /**
     * token签名密钥
     */
    private String signingKey = "s,i,u,f,u,n,g,";

    /**
     * 算法
     */
    private String algorithm = "HS512";

}
